package com.snake.mylibrary.loader;

import com.snake.mylibrary.net.HttpStatus;

import java.util.Map;

/**加载进度接口回调*/
public interface ProgressNotifiable {
    
	/**
	 * 开始载入数据
	 * @param hasFirstPageData 
	 */
     void onLoadStart(boolean hasFirstPageData);

    /**
     * 载入过程停止
     * @param hasFirstPageData
     * @param err
     */
     void onLoadStop(boolean hasFirstPageData, Map<HttpStatus, String> txt, HttpStatus err);
}
